package util;

import com.buaa.spinner.R;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2016/4/18.
 */
public class SpinnerAdapter {
    //空构造方法
    public SpinnerAdapter() {
    }
   public static List<Map<String,Object>> getListMap(){
       List<Map<String,Object>> list=new ArrayList<Map<String, Object>>();
       Map<String,Object> map1=new HashMap<String,Object>();
       map1.put("ivLogo", R.drawable.calendar);
       map1.put("applicationName","日历");

       Map<String,Object> map2=new HashMap<String,Object>();
       map2.put("ivLogo",R.drawable.eoemarket);
       map2.put("applicationName","客户端");

       list.add(map1);
       list.add(map2);
       return list;
   }
}
